package cn.bdqn.mapper;

import cn.bdqn.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper extends BaseMapper<Role> {
    IPage<Role> selectLists(IPage<Role> page, @Param("roleName") String roleName);

     Role selectByUserId(@Param("userId") Long userId);
}
